#!/usr/bin/php
<?php
define('BASEPATH','.'); // mockup that this app was executed from ci, taken from Doctrine documentation
$filename = realpath(dirname(__FILE__) . "/../");
chdir($filename); //Be sure that your current directory should be the root (folder that contains scripts) directory, I dunno why but the other options failed for me...

require('scripts/doctrine.php');
